package com.dyg.service;

import java.util.List;

import com.dyg.model.Resource;
import com.dyg.model.Role;

public interface RoleService {

	public void insertRole(Role role);

	public void deleteRoleById(String roleId);

	public void updateRole(Role role);

	public Role findRoleById(String roleId);

	public List<Role> findRoleList();

	/**
     * 查询指定用户所指定的角色字符串列表
     * @param uid
     * @return
     */
	public List<String> listRoleSnByUser(int userId);

	


}
